<template>
	<view class="productbox">
		<view class="product" @click="detail">
			<image src="../../static/logo.png" mode="" class="sptu"></image>
			<view class="title">
				逆时光小绿瓶精华液
			</view>
			<view class="btnbox">
				<text class="dw">￥</text>
				<text class="price">128</text>
				<text class="delprice">已拼<text class="nun">523</text>件</text>
				<image src="../../static/zhuanf.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		methods:{
			detail(){
				this.jumpLink({link:"/pages/Product_Particulars/index"})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.productbox {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		margin-left: 40rpx;
	}

	.product {
		margin-right: 54rpx;
		padding: 10rpx;
		box-sizing: border-box;
		margin-bottom: 30rpx;

		.sptu {
			width: 240rpx;
			height: 240rpx;
			border-radius: 12rpx;
		}

		.title {
			width: 230rpx;
			font-family: MicrosoftYaHei;
			font-size: 26rpx;
			color: #333333;
			margin-top: 10rpx;
		}

		.btnbox {
			display: flex;
			align-items: center;
			margin-top: 15rpx;

			.dw {
				font-size: 20rpx;
				font-family: PingFang-SC-Bold;
				color: #f74034;
			}

			.price {
				font-family: PingFang-SC-Bold;
				font-size: 28rpx;
				font-weight: 700;
				letter-spacing: 0rpx;
				color: #f74034;
			}

			.delprice {
				font-family: PingFang-SC-Medium;
				font-size: 20rpx;
				font-weight: normal;
				letter-spacing: 0rpx;
				color: #999999;

				.nun {
					color: #f74034;
				}
			}

			image {
				width: 30rpx;
				height: 30rpx;
				margin-left: 10rpx;
			}
		}
	}
</style>
